package com.fivestar.pmanager.web.main.md5test;

import org.springframework.security.authentication.encoding.Md5PasswordEncoder;
import org.springframework.security.authentication.encoding.PasswordEncoder;

public class Md5MainTest {
	
	public static void main(String[] args) {
		
		PasswordEncoder passwordEncoder = new Md5PasswordEncoder();
		String loginId  = "super";
		String loginPwd = "123456";
		String salt     = "";
		System.out.println(passwordEncoder.encodePassword(loginPwd, salt));
		
		
		LogTestMain t = new LogTestMain();
		t.testLogConsole();
		
	}

}
